package Homework;
//会员类
public class Member {
	//会员属性：姓名 手机号 会员卡号  密码   积分  注册日期
	private String name;
	private String phoneNum;
	private String cardId;
	private String password;
	private int score;
	private String registerDate;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPhoneNum() {
		return phoneNum;
	}
	public void setPhoneNum(String phoneNum) {
		this.phoneNum = phoneNum;
	}
	public String getCardId() {
		return cardId;
	}
	public void setCardId(String cardId) {
		this.cardId = cardId;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public int getScore() {
		return score;
	}
	public void setScore(int score) {
		this.score = score;
	}
	public String getRegisterDate() {
		return registerDate;
	}
	public void setRegisterDate(String registerDate) {
		this.registerDate = registerDate;
	}
	public Member(String name, String phoneNum, String cardId, String password, int score, String registerDate) {
		super();
		this.name = name;
		this.phoneNum = phoneNum;
		this.cardId = cardId;
		this.password = password;
		this.score = score;
		this.registerDate = registerDate;
	}
	public Member() {
		super();
	}
	@Override
	public String toString() {
		return "会员姓名：" + name + ", 手机号：" + phoneNum + ", 会员卡号：" + cardId 
				+ ", 积分：" + score + ", 注册日期：" + registerDate;
	}
	
	
}
